package com.lrs.java.j2se_base.frequentlyUsedClasses;

public class StringFormatTest {

	public static void main(String[] args) {
		String str = StringFormatTest.getURL(343, 234);
		System.out.println(str);
	}
	
	public static String getURL(long ccpException, long ccpId) {
		return String.format("<a class='mainPageLink' href=\"collateral/ccp/tradeSearchResults.do?ccpException=%d&ccpIdfromDashboard=%d\" >", ccpException, ccpId);
	}
	
}
